// 混合公开和未公开的标识符
// export GOPATH=.../chapter5
// go build listing68.go
package main

import (
    "fmt"
    "entities"
)

func main() {
    a := entities.Admin {
        // user : entities.user {"Bill", "bill@email.com"}, // error
        Rights : 10,
    }

    a.Name = "Bill"
    a.Email = "bill@email.com"
    fmt.Printf("User: %v\n", a)

    a.Notify()
}
